﻿#define _CRT_SECURE_NO_WARNINGS
#include "AVLTree.h"
int main()
{
	AVLTree<int, int> avl;
	int arr[] = { 4, 2, 6, 1, 3, 5, 15, 7, 16, 14 };
	for (auto e : arr)
	{
		if (e == 11)
		{
			int x = 0;
		}
		avl.Insert(make_pair(e,e));
	}
	avl.Order();
	cout << avl.IsAVLTree() << endl;
	return 0;
}